package lixp.pojo;

import javax.persistence.*;

@Table(name = "pay_in_order_detail")
public class PayInOrderDetail {
    @Id
    @Column(name = "pay_in_order_detail_id")
    private Integer payInOrderDetailId;

    @Column(name = "pay_in_order_id")
    private Integer payInOrderId;

    @Column(name = "product_id")
    private String productId;

    @Column(name = "product_name")
    private String productName;

    @Column(name = "product_price")
    private Long productPrice;

    @Column(name = "product_count")
    private Integer productCount;

    private String remark;

    /**
     * @return pay_in_order_detail_id
     */
    public Integer getPayInOrderDetailId() {
        return payInOrderDetailId;
    }

    /**
     * @param payInOrderDetailId
     */
    public void setPayInOrderDetailId(Integer payInOrderDetailId) {
        this.payInOrderDetailId = payInOrderDetailId;
    }

    /**
     * @return pay_in_order_id
     */
    public Integer getPayInOrderId() {
        return payInOrderId;
    }

    /**
     * @param payInOrderId
     */
    public void setPayInOrderId(Integer payInOrderId) {
        this.payInOrderId = payInOrderId;
    }

    /**
     * @return product_id
     */
    public String getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    /**
     * @return product_name
     */
    public String getProductName() {
        return productName;
    }

    /**
     * @param productName
     */
    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    /**
     * @return product_price
     */
    public Long getProductPrice() {
        return productPrice;
    }

    /**
     * @param productPrice
     */
    public void setProductPrice(Long productPrice) {
        this.productPrice = productPrice;
    }

    /**
     * @return product_count
     */
    public Integer getProductCount() {
        return productCount;
    }

    /**
     * @param productCount
     */
    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    /**
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}